<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">


    <body>

        <ui:composition>           
                <ul id="mainList">
                    <c:choose>
                        <c:when test="#{select == 1}">
                            <li class="mainLi"> <h:outputText styleClass="selected" value="#{bundle.Home}" /> </li>
                        </c:when>
                        <c:otherwise>
                            <li class="mainLi"> <h:link outcome="main" value="#{bundle.Home}"/> </li>
                        </c:otherwise>
                    </c:choose>
                    <c:choose>
                        <c:when test="#{select == 2}">
                            <li class="mainLi"> <h:outputText styleClass="selected" value="#{bundle.NewFilms}" /> </li>
                        </c:when>
                        <c:otherwise>
                            <li class="mainLi"> <h:link outcome="newFilms" value="#{bundle.NewFilms}"/> </li>
                        </c:otherwise>
                    </c:choose>
                    <c:choose>
                        <c:when test="#{select == 3}">
                            <li class="mainLi"> <h:outputText styleClass="selected" value="#{bundle.AllFilms}" /> </li>
                        </c:when>
                        <c:otherwise>
                            <li class="mainLi"> <h:link outcome="allFilms" value="#{bundle.AllFilms}"/> </li>
                        </c:otherwise>
                    </c:choose>
                </ul>
        </ui:composition>

    </body>
</html>
